package ws.jdbc.concurrent.driver.sqlserver;

/**
 * Dialog messages.
 * 
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public final class Messages {

  /** Message for unsupported result set type/concurrency. */
  public final static String msg_unsupported_type_concurrency = "The result set type/concurrency is not supported.";
  /** Message for illegal result set type/concurrency. */
  public final static String msg_illegal_type_concurrency = "The result set type/concurrency is illegal";
  /** Message for forward-only result set. */
  public final static String msg_forward_only = "Result set is foward-only.";
  /** Message for read-only result set. */
  public final static String msg_read_only = "Cannot udpate row. Result set is read-only.";
  /** Message for when the cursor is not on the insert row. */
  public final static String msg_is_not_on_insert_row = "The cursor is not on the insert row.";
   /** Message for when the cursor is on the insert row. */
  public final static String msg_is_on_insert_row = "The cursor is on the insert row.";
  /** Message for when one thread tries to re-lock the cursor. */
  public final static String msg_already_locked = "The cursor is already locked the thread.";
  /** Message for when one thread tries to unlock the cursor and the lock is not held by him. */
  public final static String msg_lock_not_held = "The lock is not held by the current thread";
  /** Message for when a method is called upon a closed connection. */
  public final static String msg_connection_is_closed = "The connection is closed.";
  /** Message for when a method is called upon a closed statement. */
  public final static String msg_statement_is_closed = "The statement is closed.";
  /** Message for when a method is called upon a closed result set. */
  public final static String msg_resultset_is_closed = "The result set is closed.";

  public final static String msg_is_not_scrollable = "The result set type is neither TYPE_SCROLLABLE_SENSITIVE or TYPE_SCROLLABLE_INSENSITIVE.";
  public final static String msg_is_not_forward_only = "The result set type is not TYPE_FORWARD_ONLY.";
  public final static String msg_is_not_read_only = "The result set concurrency is not CONCUR_READ_ONLY.";
  public final static String msg_is_not_updatable = "The result set concurrency is not CONCUR_UPDATABLE.";

  /**
   * Prevent instantiation.
   */
  private Messages() {
  }
}
